home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _D41F2DCE4E064DBD88648AAC77911215 < prev    next >
Encoding:
Text File  |  2000-03-27  |  1.4 KB  |  34 lines

  1. #include "../common/header.ds"
  2. output "p:/base/ds/tsr1"
  3.  
  4.  
  5. // this script starts the train with skinheads on it running towards the end
  6.  
  7.  
  8.  
  9. local entity rtskinhead1 // the first guy towards the front of the train
  10. local entity rtskinhead2 // the second skinhead towards the back of the train
  11. local entity rtskinhead3 // the third middle guy on the train
  12. local entity skintrain // the train they ride out on
  13. local entity trainplay
  14.  
  15. rtskinhead1 = find entity with targetname "rtskinhead1"
  16. rtskinhead2 = find entity with targetname "rtskinhead2"
  17. rtskinhead3 = find entity with targetname "rtskinhead3"
  18. skintrain = find entity with targetname "skintrain"
  19. trainplay = find entity with targetname "player"
  20.  
  21. use entity rtskinhead1 // spawns him in
  22. use entity rtskinhead2 // spawns him in
  23. use entity skintrain // starts the train moving 
  24.  
  25. animate entity rtskinhead1 performing action CCH_A_FWD_MS_2 targeting entity trainplay // holding for 9.0 // crouching firing
  26. animate entity rtskinhead1 performing action SCRIPT_RELEASE
  27.  
  28. animate entity rtskinhead3 performing action CCH_A_FWD_MS_2 targeting entity trainplay // holding for 9.0 // crouching firing
  29. animate entity rtskinhead3 performing action SCRIPT_RELEASE
  30.  
  31. animate entity rtskinhead2 performing action CCH_A_FWD_P_2 targeting entity trainplay // holding for 9.0 // crouching firing
  32. animate entity rtskinhead2 performing action SCRIPT_RELEASE
  33.  
  34.